package STUDENT.NGUYENSANG.OOPs.Calculato;

public class Modouls {
	public double Cong(ToanTu TT)
	{
		return (TT.getA()+TT.getB());
	}
	public double Tru(ToanTu TT)
	{
		return (TT.getA()-TT.getB());
	}
	public double Chia(ToanTu TT)
	{
		return (TT.getA()/TT.getB());
	}
	public double Nhan(ToanTu TT)
	{
		return (TT.getA()*TT.getB());
	}
}
